﻿@using Fuse8.ContentManagementFramework.Web.MvcPowered.Components.Editors
@model dynamic
           
@{
    string content = @Model.Content;
    string clientId =  "contentEditor_" + @Model.ClientId.ToString();
    string name = @Model.Name;
}

    @(
        Html.CmsEditor().Name(name).Encode(false).Value(Html.Raw(content).ToString()).HtmlAttributes(new { id = clientId })
        .TelerikOptions(to => to    
                .ClientEvents(e => e.OnChange("setPageChanged"))
                .StyleSheets(a => a.UseTelerikContentDeliveryNetwork(false).Add("~/admin/assets/css/telerik.custom.less")))
    )